/**
 * Theme Name: Module Child
 * Theme URI: https://www.wpcom.cn/themes/module.html
 * Version: 1.0
 * Author: WPCOM
 * Author URI: https://www.wpcom.cn
 * Template: module
 */

@import url("../module/css/style.css");

.post-loop-image-news .item-sticky,
.post-loop-product .item-sticky,
.post-loop-default .item-sticky {
    position: relative;
}

.post-loop-image-news .item-sticky .post-item-inner>a,
.post-loop-product .item-sticky .n-item-wrap,
.post-loop-product .item-sticky .p-item-wrap,
.post-loop-product .item-sticky .s-item-wrap,
.post-loop-default .item-sticky .item-img {
    position: relative;
}
.post-loop-image-news .item-sticky .post-item-inner>a:before,
.post-loop-product .item-sticky .n-item-wrap:before,
.post-loop-product .item-sticky .p-item-wrap:before,
.post-loop-product .item-sticky .s-item-wrap:before,
.post-loop-default .item-sticky .item-img:before{
    position: absolute;
    z-index: 9;
    left: 10px;
    top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    padding: 4px 6px;
    background: var(--theme-color);
    border-radius: var(--theme-border-radius-s);
    content: '主推';
}
@media (max-width: 767px) {
    .post-loop-image-news .item-sticky .post-item-inner>a:before,
    .post-loop-product .item-sticky .n-item-wrap:before,
    .post-loop-product .item-sticky .p-item-wrap:before,
    .post-loop-product .item-sticky .s-item-wrap:before,
    .post-loop-default .item-sticky .item-img:before{
        left: 5px;
        top: 6px;
        padding: 3px 5px;
        font-size: 10px;
    }
}